package com.uetoken.cn.adapter;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.uetoken.cn.R;
import com.uetoken.cn.adapter.model.AmountCardModel;
import com.uetoken.cn.manager.UEDataManager;

public class AmountCardAdapter extends BaseQuickAdapter<AmountCardModel, BaseViewHolder> {


    public AmountCardAdapter() {
        super(R.layout.item_stock_text_sum, UEDataManager.getInstance().getAmountCardModelList());
    }

    @Override
    protected void convert(BaseViewHolder helper, AmountCardModel item) {
        helper.setText(R.id.payDenominationTv, item.getDenomination());
        helper.setText(R.id.presentDenominationTv, item.getPresented());


    }
}
